#!/bin/bash

CONFIGDIR=$(pwd)/config
IMAGE=logstash
SINCEDB=/tmp/home
TEMP=/tmp
docker run -it --rm\
 -v ${SINCEDB}:/home/root\
 -v ${TEMP}:/tmp\
 -v ${CONFIGDIR}:/config-dir \
 ${IMAGE} \
 -f /config-dir/logstash.conf
